﻿using PoemGame.WebDemoApplication.DTOs;

namespace PoemGame.WebDemoApplication
{
    /// <summary>
    /// 人机对战的Web Api接口
    /// 
    /// </summary>
    public interface IPoemGameWebDemoApplication
    {
        /// <summary>
        /// 创建游戏，如果创建成功，进行第一轮
        /// </summary>
        /// <param name="createGameInput"></param>
        /// <returns></returns>
        Task<CreateGameResult> CreateGame(CreateGameInputDto createGameInput);
        /// <summary>
        /// 游戏进行
        /// </summary>
        /// <param name="playInput"></param>
        /// <returns></returns>
        Task<PlayResult> Play(PlayInputDto playInput);
    }
}